The RichTextEditor Component > Using the RichTextEditor component |
Using the RichTextEditor component
You can use the RichTextEditor component to create rich text input areas in
your application. Anytime a user may want to bold, italicize, or change the
color of some text is a perfect place for the RichTextEditor component.
The RichTextEditor in the Components panel
Using the RichTextEditor's Formatting Capabilities
Most of the Rich Text Editor's formatting should be similar to standard rich text editors.
Changing the Font
Select the text you wish to apply a font and then choose the desired font from the font selection list.
Creating a Link
Select the text you wish to appear as a link In the link field, type the web url (e.g. http://www.macromedia.com) to which you want link and then click the link icon. In the Target selection list, choose either _blank, _self_, _parent or _top to specify the window or HTML frame that the document should load into. After making the target selection, the link will now appear in the text area.
Removing a Link
Select the linked text and click the remove link icon.
Changing the View
To access the code view of the rich text, select the Code option from the View selection list. By default, the 'Design' view is selected
Additional RichTextEditor Usage Notes
When using custom fonts, text will be immediately entered in the font that appears in the top of the font list. When using client fonts, text is entered in the default font Courier New until a font selection is applied. The desired font can be selected from the font list prior to typing, or by selecting the text and choosing a font from the font list. It's best to select the font before the text is entered so that you can immediately see the formatting or to use custom fonts instead of client fonts.